import React from 'react';
import ReactDOM from 'react-dom';
import '@fontsource/roboto';
import { AppRoute } from './route';
import { init_lang } from 'sui';
import { zh } from './local/zh';
import { en } from './local/en';

init_lang(() => {
    return {
        zhcn: zh,
        enus: en,
    };
});

ReactDOM.render(
    <AppRoute />,
    document.getElementById('root')
);
